package com.edu.demo.service;

import com.edu.demo.entity.Department;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 院系 服务类
 * </p>
 *
 * @author jixuewei
 * @since 2023-01-12
 */
public interface IDepartmentService extends IService<Department> {

    /**
     * 批量导入院系
     * @param file
     * @return
     */
    int insertDepartments(MultipartFile file) throws Exception;
}
